package cloud.maque.module.system.service;

import cloud.maque.module.system.entity.SysUserPost;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserPostService extends IService<SysUserPost> {

    List<SysUserPost> GetList(SysUserPost data);

    SysUserPost SaveUserPost(SysUserPost data);

    Boolean DeleteByPostId(String PostId);

    Boolean DeleteByUserId(String userId);

}